-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Discover] Migrate DataView related imports to data_views plugin #126315
[Discover] Migrate DataView related imports to data_views plugin #126315
Conversation
@elasticmachine merge upstream |
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good but I have something I'd like to discuss imports from common with the core team before giving the final approval.
@elasticmachine merge upstream |
@@ -10,7 +10,8 @@ import React, { useState, Fragment, useMemo, useCallback } from 'react'; | |||
import { FormattedMessage } from '@kbn/i18n-react'; | |||
import { EuiHorizontalRule, EuiText } from '@elastic/eui'; | |||
import { CONTEXT_STEP_SETTING, DOC_HIDE_TIME_COLUMN_SETTING } from '../../../common'; | |||
import { DataView, SortDirection } from '../../../../data/common'; | |||
import type { DataView } from '../../../../data_views/public'; | |||
import { SortDirection } from '../../../../data/common'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
data
plugin imports should also be from public
instead of common
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies for the tedious change requests, I'm working with core to figure out why these weren't disallowed with lint rules.
src/plugins/discover/public/application/main/components/sidebar/__stories__/fields.ts
Outdated
Show resolved
Hide resolved
src/plugins/discover/public/application/main/components/layout/types.ts
Outdated
Show resolved
Hide resolved
src/plugins/discover/public/application/main/components/sidebar/discover_index_pattern.test.tsx
Outdated
Show resolved
Hide resolved
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Public APIs missing comments
Async chunks
Page load bundle
Unknown metric groupsAPI count
References to deprecated APIs
History
To update your PR or re-run it, just comment with: cc @kertal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes lgtm, thanks for addressing my feedback!
…stic#126315) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Summary
This PR migrates imports of
DataView
related code from thedata
plugin to thedata_views
pluginPart of #124063